package com.bjpowernode.employment.mapper;

import com.bjpowernode.employment.mapper.entity.User;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserMapper {

    User getUserByAccount(String userAccount);

    List<User> getAllUsers(User user);

    User getUserById(String userId);

    void addUser(User user);

    void updateUser(User user);

    void deleteUser(String userId);
}
